package com.geekbang.lul.consumer;

import com.alibaba.dubbo.config.spring.context.annotation.EnableDubbo;
import com.geekbang.lul.service.consumer.ConsumerCustomerService;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * @author nhsoft.lul
 */
@SpringBootApplication
@EnableDubbo
@MapperScan(basePackages = {"com.geekbang.lul.consumer.mapper"})
public class ConsumerApplication {
    public static void main(String[] args) {
        SpringApplication.run(ConsumerApplication.class, args);
    }


    @Autowired
    private ConsumerCustomerService consumerCustomerService;

}
